<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    var computer={
        color:'白色',
        weight:'2kg',
        brand:'Lenovo',
        type:'G500',
        watch:function(){
            console.log('我在看电影');
        },
        listen:function(){
            console.log('我在听音乐');
        },
        Play:function(){
            console.log('我在打游戏');
        },
        coding:function(){
            console.log('我在敲代码');
        }
    }
</script>
</html>